package com.sensetime.jv.service;

import com.sensetime.jv.vo.RoleRespVO;
import com.sensetime.jv.vo.RoleSaveReqVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface RoleService {
    List<RoleRespVO> listAll();

    RoleRespVO detail(Integer id);

    @Transactional
    void saveOrUpdate(RoleSaveReqVO vo);

    @Transactional
    void removeById(Integer id);
}
